#include "Entity2D.h"


Entity2D::Entity2D(void)
{
}


Entity2D::~Entity2D(void)
{
}
void Entity2D::draw (Renderer * renderer)
{
	renderer->setMatrixMode(WORLD);
	renderer->loadIdentity();
	// apply transformation
	renderer->translate(m_X, m_Y, m_Z);
	renderer->rotateZ(m_rotation * 3.14159f / 180.0f);
	renderer->scale(W,H);
}
void Entity2D::Update( float dTime)
{
}